package geppetto.cat.programs;


import geppetto.cat.corpus.BilingualCorpus;

import java.io.IOException;
import java.io.PrintStream;



public class BaseExp {

	BilingualCorpus forwardCorpus, backwardCorpus;

	public void initializeCorpus(String corpusDesc, int size, int maxSentSize)
			throws IOException {
		System.out.println("Loading Corpus");
		forwardCorpus = BilingualCorpus.getCorpusFromFileDescription(
				corpusDesc, size, maxSentSize);
		backwardCorpus = forwardCorpus.reverse();
		System.out.println("Finished Loading Corpus");
	}

	
	
	
	// Shoudl print latex headers and experiment headers
	public static void printBegin(PrintStream out) {
		out
				.println("\\documentclass{article}[10pt] \n \\usepackage{rotating} \n \\usepackage{xcolor} \n \\input{wa} \n \\usepackage[utf8]{inputenc} \n \\begin{document} \n");
		
	}

	public static void printEnd(PrintStream out) {
		out.println("\\end{document} \n");
	}

}
